# write a sample's.
cmake_minimum_required(VERSION 3.5)

# project(PNG2BIN VERSION 1.0, LANGUAGES  C)

project(PNG2BIN, LANGUAGES C)

# configure a header file to pass the version number to the source code.
# configure_file(main.h.in main.h)

#set target include directories.
target_include_directories(PNG2BIN PUBLIC "${PRGOJECT_BINARY_DIR}")

# set variable's
set(SOURCE main.c)

add_executable(png2bin ${SOURCE})